What is a PDB file and how can I exclude it from the release folder when I rebuild my solution? ... Bear in mind that you should probably keep these included in your debug releases, as it allows exceptions to be traced to a specific line in your code.